package org.tinygroup.dbf;

import java.util.List;


/**
 * DBF文档，完整描述一个Dbf文档
 * Created by luoguo on 2014/7/10.
 */
public class DbfDocument {
    private String encode;
    private DbfHeader header;
    private DbfDataSet dataSet;
    private List<DbfField>fields;
    private byte type;

    public byte getType() {
        return type;
    }

    public void setType(byte type) {
        this.type = type;
    }

    public List<DbfField> getFields() {
        return fields;
    }

    public String getEncode() {
        return encode;
    }

    public void setEncode(String encode) {
        this.encode = encode;
    }

    public void setFields(List<DbfField> fields) {
        this.fields = fields;
    }

    public DbfDataSet getDataSet() {
        return dataSet;
    }

    public void setDataSet(DbfDataSet dataSet) {
        this.dataSet = dataSet;
    }

    public DbfHeader getHeader() {
        return header;
    }

    public void setHeader(DbfHeader header) {
        this.header = header;
    }
}
